#include <stdio.h>

int main() {
    char arr1[2][3] = {'1', '2', '3',
                       '4', '5', '6'};
    char *p[2];
    char i, j;

    for (i = 0; i < 2; i++) {
        for (j = 0; j < 3; j++) {
            printf("\t%c", arr1[i][j]);
        }
    }
    printf("\n");

    p[0] = arr1[0];
    p[1] = arr1[1];

    for (i = 0; i < 2; i++) {
        for (j = 0; j < 3; j++, p[i]++) {
            printf("arr2[%d][%d]=*(p[%d]+%d):%c\n",
                   i, j, i, j, *p[i]);
        }
    }

    return 0;
}